#pragma once
#include <mysql/mysql.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
int split_path(const char *path,char *new_path, char *filename);
int verify_path(MYSQL *conn,const char *username, const char *path);
int is_folder(MYSQL *conn, const char *username, const char *path);
int cmd_cd(MYSQL *conn,const char *username, const char *path);
int cmd_ls(MYSQL *conn,const char *username, const char *path,char *output);
int cmd_mkdir(MYSQL *conn,const char *username, const char *path);
int cmd_rmdir(MYSQL *conn,const char *username, const char *path);
int cmd_remove(MYSQL *conn,const char *username, const char *path);

